<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的信息</title>
<link href="/member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/m.js"></script>
</head>

<body>
<div class="header">
  <div class="logo fl"> <a href="/app/?m=member&a=home" target="_self"><img src="/images/logo.png" border="0"/></a> </div>
  <div class="toplinks fr">您好，<a href="/app/?m=member&a=home"><%$userinfo.username%></a> <a href="/app/?m=member&a=logout">[退出]</a> </div>
</div>
<div class="main mt10">
  <%include file="home_side.tpl"%>
  <div class="centent">
  
    <div class="ind_do" align="center">
    <table width="98%" border="0" cellspacing="1" cellpadding="3" style="background-color: #DBE6E3;">
      <tr style="background-color:#F3F8F7" align="center">
        <td>标题</td>
        <td>发布时间</td>
        <td>状态</td>
        <td>操作</td>
      </tr>
      <%foreach item=val from=$list%>
	  <tr style="background-color:#fff"  align="center">
        <td align="left" style="padding-left:15px;">
        	<a href="/app/?m=classified&a=preview&id=<%$val.id%>&classid=<%$val.classid%>" style="color:#F90" target="_blank" title="预览"><img src="/images/preview.jpg" width="16" height="16" border="0" /></a>
            <a href="http://www.baidu.com/s?wd=<%$val.title%>&ie=utf-8" title="用百度搜索" target="_blank"><img src="/images/baidu.jpg" width="16" height="16" border="0" /></a>
        	<%if $val.audit%>
            	<a href="<%$val.link%>" target="_blank"><%$val.title%></a>
            <%else%>
            <%$val.title%>
            <%/if%>
        </td>
        <td><%$val.posttime|date_format:"%Y-%m-%d"%></td>
        <td><%if $val.audit%><span style="color:green">已审核</span><%else%><span style="color:red">未审核</span><%/if%></td>
        <td><a href="/app/?m=classified&a=edit&id=<%$val.id%>">编辑</a> <a href="/app/?m=classified&a=delete&id=<%$val.id%>">删除</a></td>
      </tr>
      <%/foreach%>
    </table>
    <script language="javascript">
	city = $(".city").clone();
	$(".province").change(function(){
		var pid = $(".province option:selected").attr("pid");
		$.post('/app/?m=city&a=getcitybypid',{"pid":pid,"city":"<%$userinfo.city%>"},function(data){
			$(".city").html(data);
		});
	});
	$(".province").change();
	</script>
    </div>
    <div class="ind_dot">
      <h2>常见问题</h2>
      <ul>
      <%foreach item=val from=$faq%>
        <li><a href="<%$val.url%>#<%$val.id%>" title="<%$val.title%>" target="_blank"><%$val.title%></a></li>
      <%/foreach%>
      </ul>
    </div>
  </div>
</div>
<script language="javascript" type="text/javascript" src="<%$attr.url%>/js/bot.js"></script>
</body>
</html>
